li.list-item {
  width: 260px;
  float: left;
  margin-right: 10px;
}

h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

p .price{
  font-size: 30px;
  color: red;
}

.pagi {
  width: 800px;
  height: 40px;
  border: 1px solid skyblue;
  margin: 30px auto;
}
* {
  margin: 0;
  padding: 0;
  line-height: 1;
}

a {
  text-decoration: none;
}
a:hover{
  text-decoration: none;
}

li {
  list-style: none;
}

/* h1,h2,h3,h4,h5,h6{
  font-weight: normal;
} */
img {
  display: block;
}

.w1200 {
  width: 1200px;
  margin: 0 auto;
}

body {
  background-color: #f5f5f5;
}

/* 头部 */
header {
  background-color: #000;
}

header .w1200 {
  display: flex;
  font-size: 12px;
  color: gainsboro;
}
header .w1200 a {
  color: gainsboro;
}
header p a:hover {
  color: white;
}

header p {
  margin-right: 34px;
  height: 36px;
  line-height: 36px;
}

header p:hover {
  color: white;
}

header span:hover {
  color: white;
}

header span {
  flex: 1;
  height: 36px;
  line-height: 36px;
}

header .last {
  margin-right: 0;
}

header .w1200 {
  position: relative;
}

header .w1200 .yuyu {
  position: absolute;
  right: -10px;
  top: 48px;
  width: 160px;
  height: 270px;
  display: none;
  z-index: 6;
}

header .w1200 .last:hover .yuyu {
  display: block;
}

header .w1200 .last:hover .caret {
  opacity: 0;
}





/* nav */
nav {
  background-color: #ffffff;
  height: 77px;
}

nav div {
  display: flex;
}

nav div img {
  width: 142px;
  height: 24px;
  margin: 21px 130px 0 0;
}

nav ul {
  display: flex;
  flex: 1;
}

nav ul li{
  margin-right: 33px;
  line-height: 77px;
  font-size: 16px;
}
nav ul li a{
  color: #000;
}

nav ul li:hover {
  color: rgb(14, 103, 236);
}

nav form {
  width: 182px;
  height: 40px;
  margin-top: 25px;
  margin-left: 14px;
  margin-right: 40px;
}

nav form input {
  float: left;
  border: 0;
  width: 200px;
  height: 30px;
  box-sizing: border-box;
  padding-left: 10px;
  background-color: aliceblue;
  border-radius: 25px;
}
.container .thumbnail img{
  width: 60%;
  margin-top: 30px;
}

.container .caption h3{
  font-size: 14px;
  margin: 20px 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

}
.container .caption .price{
  font-size: 18px;
  color: rgb(235, 50, 50);
  margin-left: 20px;
}
.container .caption .xuan{
  font-size: 12px;
  border: rgba(24, 163, 179, 0.473) solid 1px;
  border-radius: 12px;
  color: rgba(24, 163, 179, 0.473);
  margin-left: 15px;
  padding: 4px;
}
.container .btn{
  font-size: 10px;
  color: rgb(225, 49, 49);
  border: rgb(225, 49, 49) solid 1px;
  background-color: transparent;
  border-radius: 3px;
  font-weight: 500;
  padding: 3px;
  margin-left: 20px;
}
.container .btn:nth-child(2){
  margin-left: 5px;
}
.container p+h3{
  margin: 10px 0 10px 20px;
}
.container .pingjia{
  color: rgb(114, 115, 117);
  margin-bottom: 30px;
  margin-left: 26px;
  font-size: 12px;
  
}
.thumbnail{
  margin-bottom: 0;
}
.glyphicon-yen::before{
  content: "";
}


.m-style {
  width: 800px;
  margin: 30px auto;
}

.m-style .prev , .m-style .next{
  background: rgb(215, 68, 92);
  color: #fff;
}
/* 选项 */
.xuanxiang {
  display: flex;
  height: 270px;
  padding-top: 30px;
  background-color: #fff;
  border-top: 1px solid #e8e8e8;
  border-bottom: 3px solid #e8e8e8;

}

.xuanxiang dl {
  width: 170px;

}

.xuanxiang dl dt {
  font-weight: 900;
  height: 30px;
  line-height: 30px;
  color: #525349;
  margin-left: 20px;

}

.xuanxiang dl dd {
  height: 24px;
  line-height: 24px;
  font-size: 13px;
  ;
  color: #837f76;
  margin-left: 20px;

}

.xuanxiang .erwei p {
  color: #5b5a5a;
  line-height: 30px;
  height: 30px;
  padding-left: 80px;
}

.xuanxiang .erwei {
  border-left: 1px solid #e8e8e8;

}


/* 尾部 */
.footer p {
  color: #797e7f;
  font-size: 12px;
  height: 20px;
  line-height: 20px;
}

.footer p img {
  height: 30px;
  width: 100px;
}